package com.moli.iov.down.enums.command;

/**
 * <p>
 *  终端控制应答枚举
 * </p>
 *
 * @author: zql
 * @Date: 2019/1/22 9:42
 */
public enum TerminalControlResultEnum {

    /**
     * 成功
     */
    SUCCESS((byte)0x00, "成功"),

    /**
     * 控制命令不支持
     */
    NONSUPPORT((byte)0x01, "控制命令不支持"),

    /**
     * 终端条件不满
     */
    DISSATISFY((byte)0x02, "终端条件不满足");

    private byte flag;

    private String msg;

    TerminalControlResultEnum(byte flag, String msg){
        this.flag = flag;
        this.msg = msg;
    }

    public byte getFlag() {
        return flag;
    }

    public String getMsg() {
        return msg;
    }
}
